import request from '@/utils/request'

// 查询批次-批次列表
export function listBatch(query) {
  return request({
    url: '/batch/batch/list',
    method: 'get',
    params: query
  })
}
// 删除批次-运营批次
export function delBatch(batchId) {
  return request({
    url: '/batch/batch/' + batchId,
    method: 'delete'
  })
}
//
export function submitBatch(batchId) {
  return request({
    url: '/batch/batch/submitBatch/' + batchId,
    method: 'get'
  })
}
